Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix failures from many pulls from hub.docker.com (Done) #1406

Merged
merged 20 commits into from
Jan 6, 2021

Conversation

danielschulz
Copy link
Contributor

@danielschulz danielschulz commented Jan 5, 2021

Fixes #1380 .

Description

As Docker Hub is applying a rate limit for unauthorized pulls, we need to check how to pull images from it less often. Else, there will be regular failures in the CI pipeline just for technical reasons.

Status

Work in progress

Types of changes

  • Non-breaking change (fix or new feature that would not break existing functionality).
  • small changes like altered copyright year
  • changed curly brackets from "$VAR" to "${VAR}"

Signed-off-by: Daniel Schulz danielschulz2005@hotmail.com <danielschulz2005@hotmail.com>
added list of Nvidia maintainers
resolves: "docker image tests failed due to dockerhub limitation Project-MONAI#1380"

Signed-off-by: Daniel Schulz danielschulz2005@hotmail.com <danielschulz2005@hotmail.com>
@danielschulz danielschulz changed the title [WIP] 1380 dockerhub rate limit [WIP] Fix failures from many pulls from hub.docker.com Jan 5, 2021
@wyli
Copy link
Contributor

wyli commented Jan 5, 2021

thanks, this also addresses #1276 cc @IsaacYangSLA

Dockerfile Outdated Show resolved Hide resolved
Signed-off-by: Daniel Schulz danielschulz2005@hotmail.com <danielschulz2005@hotmail.com>
Signed-off-by: Daniel Schulz danielschulz2005@hotmail.com <danielschulz2005@hotmail.com>
Signed-off-by: Daniel Schulz danielschulz2005@hotmail.com <danielschulz2005@hotmail.com>
…nt rate limiting on it

remark: do not use it as pull-through cache as this would not work with static labels and docker images would diverge from one another

Signed-off-by: Daniel Schulz danielschulz2005@hotmail.com <danielschulz2005@hotmail.com>
Signed-off-by: Daniel Schulz danielschulz2005@hotmail.com <danielschulz2005@hotmail.com>
Signed-off-by: Daniel Schulz danielschulz2005@hotmail.com <danielschulz2005@hotmail.com>
Signed-off-by: Daniel Schulz danielschulz2005@hotmail.com <danielschulz2005@hotmail.com>
Signed-off-by: Daniel Schulz danielschulz2005@hotmail.com <danielschulz2005@hotmail.com>
@danielschulz
Copy link
Contributor Author

That's basically it. I'd appreciate you comment on what might be left to do or revise. Thank you.

I am not sure, whether I am able to test all GitHub Actions from my fork. May I just remove the date changes to "2020 - 2021" again or may I leave it in my PR? Thanks for getting back to me.

@danielschulz danielschulz changed the title [WIP] Fix failures from many pulls from hub.docker.com Fix failures from many pulls from hub.docker.com (Awaiting feedback) Jan 6, 2021
Copy link
Contributor

@wyli wyli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, it looks great, I just have a minor comment about the meta data

Dockerfile Outdated Show resolved Hide resolved
got rid of "as base" extension in FROM -- seems not be be pickup downwards (is no multi-stage Docker build -- hence: removed)

Signed-off-by: Daniel Schulz danielschulz2005@hotmail.com <danielschulz2005@hotmail.com>
Copy link
Contributor Author

@danielschulz danielschulz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks, it looks great, I just have a minor comment about the meta data

I changed it accordingly...

Dockerfile Show resolved Hide resolved
Copy link
Contributor

@wyli wyli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks

@danielschulz
Copy link
Contributor Author

thanks

You're welcome. It was a pleasure to contribute my bit.

PS: Also your products are great! I am using your GPUs professionally and personally for years now. Really great work from Nvidia! Thank you for this.

@danielschulz danielschulz changed the title Fix failures from many pulls from hub.docker.com (Awaiting feedback) Fix failures from many pulls from hub.docker.com (Done) Jan 6, 2021
Signed-off-by: Wenqi Li <wenqil@nvidia.com>
Signed-off-by: Wenqi Li <wenqil@nvidia.com>
@wyli wyli force-pushed the 1380-dockerhub-rate-limit branch from 0898026 to 1dc66bd Compare January 6, 2021 19:19
@wyli wyli merged commit db831ae into Project-MONAI:master Jan 6, 2021
@danielschulz
Copy link
Contributor Author

🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

docker image tests failed due to dockerhub limitation
2 participants